﻿<UserControl x:Class="PCSWpfClient.View.PriceView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:vi="clr-namespace:PCSWpfClient.View"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="500">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary  Source="..\Resources\PriceResource.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>

    </UserControl.Resources>

    <!--DockPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <Border DockPanel.Dock="Top"  BorderBrush="Red" BorderThickness="3" HorizontalAlignment="Stretch"-->

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="150" />
            <RowDefinition Height="4" />
            <RowDefinition Height="*"  />
        </Grid.RowDefinitions>
        <vi:InstrumentView Grid.Row="0" />
        <GridSplitter ResizeDirection="Rows"  Grid.Row="1"  
            HorizontalAlignment="Stretch" 
            VerticalAlignment="Stretch" 
            Margin="0"/>
        <vi:PricesView Grid.Row="2"/>
    </Grid>
    <!--GridSplitter DockPanel.Dock="Top" ResizeDirection="Rows"   Width="Auto" Height="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0"/-->

    <!--/DockPanel-->
</UserControl>
